home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0429.dms / q0429.adf / libray / libsurf / mist.h < prev    next >
C/C++ Source or Header  |  1991-08-08  |  991b  |  38 lines

  1. /*
  2.  * mist.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: mist.h,v 4.0 91/07/17 14:40:46 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    mist.h,v $
  19.  * Revision 4.0  91/07/17  14:40:46  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef MIST_H
  24.  
  25. #define AtmosMistCreate(c,t,z,s) AtmosCreate((AtmosRef)MistCreate(c,t,z,s), \
  26.                         MistApply)
  27. typedef struct Mist {
  28.     Color color;        /* Mist color */
  29.     Color trans;        /* R, G, B transmissivity */
  30.     Float scale, zero;    /* Height scale, start Z */
  31. } Mist;
  32.  
  33. extern Mist *MistCreate();
  34. extern void MistApply();
  35.  
  36. #endif /* MIST_H */
  37.  
  38.